In 2.6.12-land, do_debug and do_int3 return void. Make sure we don't try
authorsos22@douglas.cl.cam.ac.uk <sos22@douglas.cl.cam.ac.uk>
Fri, 22 Jul 2005 14:25:10 +0000 (14:25 +0000)
committersos22@douglas.cl.cam.ac.uk <sos22@douglas.cl.cam.ac.uk>
Fri, 22 Jul 2005 14:25:10 +0000 (14:25 +0000)
to use their return values anywhere.

Signed-off-by: Steven Smith, sos22@cam.ac.uk.
linux-2.6-xen-sparse/arch/xen/i386/kernel/entry.S

index 1fa27ad04cb53f081fabd45bdbd3c0b6c78dcecd..93a641ded4937cdac6a918361f12eb2f25098747 100644 (file)
@@ -613,8 +613,6 @@ debug_stack_correct:
        xorl %edx,%edx                  # error code 0
        movl %esp,%eax                  # pt_regs pointer
        call do_debug
-       testl %eax,%eax
-       jnz restore_all
        jmp ret_from_exception
 
 #if 0 /* XEN */
@@ -669,8 +667,6 @@ ENTRY(int3)
        xorl %edx,%edx          # zero error code
        movl %esp,%eax          # pt_regs pointer
        call do_int3
-       testl %eax,%eax
-       jnz restore_all
        jmp ret_from_exception
 
 ENTRY(overflow)